﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL.Model
{
    public class SysMenu
    {
        public SysMenu()
        { }
        #region Model
        private string _menucode;
        private string _menuname;
        private string _parentcode;
        private int? _indexnum;
        private bool _isleaf = false;
        private bool _isactive = false;
        private string _url;
        private int? _menulevel;
        private string _iconname;

        /// <summary>
        /// 菜单标识
        /// </summary>
        public string menuCode
        {
            set { _menucode = value; }
            get { return _menucode; }
        }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string menuName
        {
            set { _menuname = value; }
            get { return _menuname; }
        }
        /// <summary>
        /// 上给标识根节点Root
        /// </summary>
        public string parentCode
        {
            set { _parentcode = value; }
            get { return _parentcode; }
        }
        /// <summary>
        /// 行标识
        /// </summary>
        public int? indexNum
        {
            set { _indexnum = value; }
            get { return _indexnum; }
        }
        /// <summary>
        /// 是否叶子节点
        /// </summary>
        public bool isLeaf
        {
            set { _isleaf = value; }
            get { return _isleaf; }
        }
        /// <summary>
        /// 是否可用
        /// </summary>
        public bool isActive
        {
            set { _isactive = value; }
            get { return _isactive; }
        }
        /// <summary>
        /// Url标识
        /// </summary>
        public string url
        {
            set { _url = value; }
            get { return _url; }
        }
        /// <summary>
        /// 菜单级别
        /// </summary>
        public int? menuLevel
        {
            set { _menulevel = value; }
            get { return _menulevel; }
        }
        /// <summary>
        /// 图标名称
        /// </summary>
        public string iconName
        {
            set { _iconname = value; }
            get { return _iconname; }
        }

        #endregion Model
    }
}
